Reflecting the computation system of constructive type theory in itself∗

نویسندگان

  • Stuart F. Allen
  • Robert L. Constable
  • Douglas J. Howe
چکیده

The computation system of constructive type theory is open-ended so that theorems about computation will hold for a broad class of extensions to the system. We show that despite this openness it is possible to completely reflect the computation system into itself in a clear way by adding simple primitive concepts that anticipate the reflection. This work provides a method to modify the built-in evaluator and to treat the issues of intensionality and computational complexity in programming logics and provides a basis for reflecting the deductive apparatus of type theory. In this abstract we use the term “reflection” to refer to grammatical constructions which allow a language to talk about itself. This capability is important in natural language, and in fact was used in the first sentence of this abstract (as well as in this sentence). Reflection is also an important mechanism in formal languages. In Lisp it is used to provide an extensible syntax. Formal logical calculi also use it to provide an extensible inference system [DS79], by allowing users to state new rules of inference and prove that they are sound. Reflection need not be explicitly provided because it can sometimes be achieved be a technique known as gödelization, used by Gödel to prove his incompleteness theorem by reflecting the relation “p is a proof of P” inside the pure language of arithmetic. This mechanism not only provides a basis for reasoning about computation, but also a means of modifying evaluation, say to make it more efficient. For instance it is possible to provide other function evaluation procedures such as “call by value” in addition to the basic lazy evaluation. Reflection also provides a basis for resoning about syntax. We can define basic operators on terms at the reflected level, e.g. substitution, renaming, pattern matching, unification, etc. These can be given just as at the metaleval, providing an internal account of the basic system operators. Moreover, because the term structure is so general, its reflection provides a way ∗Supported in part by NSF grant CCR-8616552 and ONR grant N00014-88-K-0409.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Kripke Semantics for Dependent Type Theory and Realizability Interpretations

Constructive reasoning has played an increasingly important role in the development of provably correct software. Both typed and type-free frameworks stemming from ideas of Heyting, Kleene, and Curry have been developed for extracting computations from constructive specifications. These include Realizability, and Theories based on the Curry-Howard isomorphism. Realizability – in its various typ...

متن کامل

CS6180 Lecture 24 – Asynchronous Distributed Computing

In this lecture we introduce the notion of asynchronous distributed computing and some of the primitives developed for reasoning about it. Distributed systems are built from distributed processes, and we will model them. This is another area of computing where the Church-Turing thesis is not fully applicable. At Cornell we developed a formal model of these processes and a logic for reasoning ab...

متن کامل

Formalizing the Halting Problem in a Constructive Type Theory

We present a formalization of the halting problem in Agda, a language based on Martin-Löf’s intuitionistic type theory. The key features are: – We give a constructive proof of the halting problem. The “constructive halting problem” is a natural reformulation of the classic variant. – A new abstract model of computation is introduced, in type theory. – The undecidability of the halting problem i...

متن کامل

Markov's Principle for Propositional Type Theory

In this paper we show how to extend a constructive type theory with a principle that captures the spirit of Markov’s principle from constructive recursive mathematics. Markov’s principle is especially useful for proving termination of specific computations. Allowing a limited form of classical reasoning we get more powerful resulting system which remains constructive and valid in the standard c...

متن کامل

Control Theory and Economic Policy Optimization: The Origin, Achievements and the Fading Optimism from a Historical Standpoint

Economists were interested in economic stabilization policies as early as the 1930’s but the formal applications of stability theory from the classical control theory to economic analysis appeared in the early 1950’s when a number of control engineers actively collaborated with economists on economic stability and feedback mechanisms. The theory of optimal control resulting from the contributio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004